export const constants = () => {

    let functions = [
        {
            label: "自由问答助手",
            value: "/knowledge/text"
        },
        {
            label: "数据文档分析",
            value: "/knowledge/doc"
        },
        {
            label: "数据图片分析",
            value: "/knowledge/pic"
        },
        {
            label: "设置中心",
            value: "/setting",
            children: [
                {
                    label: "用户管理",
                    value: "/setting/user/index"
                },
                {
                    label: "权限管理",
                    value: "/setting/auth/index"
                }
            ]
        }
    ]

    let menus = [
        {
            label: "自由问答助手",
            value: "/knowledge/text",
            icon: 'message'
        },
        {
            label: "数据图片分析",
            value: "/knowledge/pic",
            icon: 'picture'
        },
        {
            label: "数据文档分析",
            value: "/knowledge/doc",
            icon: 'receipt'
        },
        {
            label: "设置中心",
            value: "/setting",
            icon: 'setting',
            canWatch: 'admin'
        }]

    let paths = "D:\\\\文件管理\\\\data\\\\";

    return {
        functions: functions,
        menus: menus,
        paths
    }

}